﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_LayoutFront.cshtml";
}
<style>
    .header-nav {
        background-color: #b9abce;
    }

    body {
        color: black;
    }
</style>
<div>
    <header class="header-article-list">
        <div class="article-position">
        </div>
        <ul>
            @foreach (var item in ViewBag.A)
            {
                <li><a href="~/News/Index/@item.Id">@item.Name</a></li>
            }
        </ul>
        <div class="article-more-btn">
        </div>
    </header>

    <section class="article-content">
        <h4>@ViewBag.B.Title</h4>
        <main>
            @Html.Raw(@ViewBag.B.Cont);
        </main>
    </section>
</div>